import { ConnectionOptions } from "typeorm"

export const typeOrmConfig: ConnectionOptions = {
  type: 'mysql',
  host: '47.105.66.22',
  port: 3306,
  username: 'root',
  password: 'jxm123.Com!@',
  database: 'nestdb',
  entities: ['dist/**/**.entity{.ts,.js}'],
  // entities: [__dirname + '/../**/*.entity.ts']
  synchronize: true
}